import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/get_alarm_type_entity.g.dart';

export 'package:enterprise_v6_app/generated/json/get_alarm_type_entity.g.dart';

@JsonSerializable()
class GetAlarmTypeEntity {

	GetAlarmTypeEntity();

	factory GetAlarmTypeEntity.fromJson(Map<String, dynamic> json) => $GetAlarmTypeEntityFromJson(json);
  /// 公司编号
	String? companyCode = '';
	String? createBy = '';
	String? createById = '';
	String? createDate = '';
  /// 同步的数据删除标志（0：正常，1删除）
	String? deleted = '';
	int? id = 0;
  /// 报警模块
	String? model = '';
  /// 数量
	int? num = 0;
  /// 报警类型
	String? typeName = '';

	Map<String, dynamic> toJson() => $GetAlarmTypeEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
